/* index.css */
.app-container {
	width: 100%;
	height: 100%;
}

.app-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: linear-gradient(135deg, #345dcf 0%, #94bce7 100%);
	background-color: red;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	padding: 0 24px;
	position: sticky;
	top: 0;
	z-index: 100;
	border-radius: 15px;
}

.nav {
	flex: 1;
}

.user-info-container {
	display: flex;
	justify-content: flex-end;
	/* background-color: rebeccapurple; */
	min-width: 200px;
}

.user-info {
	display: flex;
	align-items: center;
	cursor: pointer;
	padding: 8px 12px;
	border-radius: 8px;
	transition: all 0.4s ease;
	backdrop-filter: blur(10px);
}

.user-info:hover {
	background: rgba(255, 255, 255, 0.25);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.user-avatar {
	background: #36d1dc;
	color: white;
}

.user-info:hover .user-avatar {
	transform: scale(1.1);
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.user-details {
	display: flex;
	flex-direction: column;
	margin-left: 12px;
}

.user-name {
	font-size: 14px;
	line-height: 1.5;
	color: white;
	font-weight: 600;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.user-role {
	font-size: 12px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.9);
}

.login-btn {
	background: linear-gradient(135deg, #36d1dc 0%, #5b86e5 100%);
	border: none;
	font-weight: 500;
	transition: all 0.3s ease;
}

.login-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(54, 209, 220, 0.4);
}

.main-nav {
	display: flex;
	padding: 12px 0;
}

.nav-button {
	display: flex;
	align-items: center;
	margin-right: 8px;
	height: 40px;
	border: none;
	background: transparent;
	color: rgba(255, 255, 255, 0.9);
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	border-radius: 8px;
	padding: 0 16px;
	position: relative;
}

.nav-button:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.2);
	transform: scale(1.3);
}

.nav-button.active {
	color: #fff;
	background: rgba(255, 255, 255, 0.3);
	font-weight: 500;
}

.nav-button.active::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60%;
	height: 3px;
	background: #fff;
	border-radius: 3px 3px 0 0;
}

.nav-button .anticon {
	margin-right: 8px;
	transition: transform 0.3s ease;
}

.nav-button:hover .anticon {
	transform: scale(1.3);
}

.app-main {
	padding: 10px 3px;
}

@media (max-width: 768px) {
	.app-header {
		flex-direction: column;
		align-items: stretch;
		padding: 0 16px;
	}

	.user-info-container {
		justify-content: center;
		padding: 12px 0;
		border-top: 1px solid rgba(255, 255, 255, 0.2);
	}

	.main-nav {
		padding: 8px 0;
	}

	.nav-button {
		padding: 0 12px;
		font-size: 13px;
		height: 36px;
	}

	.nav-button .anticon {
		margin-right: 6px;
	}

	.user-info {
		padding: 6px 10px;
	}

	.user-name {
		font-size: 13px;
	}

	.user-role {
		font-size: 11px;
	}


}

.main-nav::-webkit-scrollbar {
	height: 4px;
}

.main-nav::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.1);
}

.main-nav::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.3);
	border-radius: 2px;
}

.main-nav::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.5);
}


.user-info-display {
	max-width: 600px;
	margin: 30px auto;
	padding: 20px;
}

.user-profile-card {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 20px;
	padding: 30px;
	color: white;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.profile-header {
	display: flex;
	align-items: center;
	margin-bottom: 30px;
}

.profile-avatar {
	background: rgba(255, 255, 255, 0.2);
	border: 3px solid rgba(255, 255, 255, 0.3);
}

.profile-details {
	margin-left: 20px;
}

.user-name {
	font-size: 1.8rem;
	font-weight: 600;
	margin: 0 0 8px 0;
	color: white;
}

.user-email {
	font-size: 1rem;
	opacity: 0.9;
	margin: 0 0 12px 0;
}

.user-role-badge {
	background: rgba(255, 255, 255, 0.2);
	padding: 6px 16px;
	border-radius: 20px;
	font-size: 0.9rem;
	font-weight: 500;
	backdrop-filter: blur(10px);
}

.profile-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
	padding: 20px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	backdrop-filter: blur(10px);
}

.stat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.stat-label {
	font-size: 0.9rem;
	opacity: 0.8;
	margin-bottom: 8px;
}

.stat-value {
	font-size: 1.1rem;
	font-weight: 600;
}

.status-active {
	color: #52c41a;
	background: rgba(82, 196, 26, 0.2);
	padding: 4px 12px;
	border-radius: 12px;
}

.profile-actions {
	display: flex;
	gap: 15px;
	justify-content: center;
}

.profile-actions .ant-btn {
	height: 40px;
	border-radius: 10px;
	font-weight: 500;
}

.profile-actions .ant-btn-primary {
	background: rgba(255, 255, 255, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.3);
	backdrop-filter: blur(10px);
}

.profile-actions .ant-btn-primary:hover {
	background: rgba(255, 255, 255, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
	.user-info-display {
		margin: 20px 16px;
		padding: 16px;
	}

	.user-profile-card {
		padding: 20px;
	}

	.profile-header {
		flex-direction: column;
		text-align: center;
	}

	.profile-details {
		margin-left: 0;
		margin-top: 15px;
	}

	.profile-stats {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.profile-actions {
		flex-direction: column;
	}

	.user-name {
		font-size: 1.5rem;
	}
}

#Container {
	width: 100%;
	height: 820px;
	box-sizing: border-box;
	overflow-y: scroll;
	padding: 15px;
	margin-top: 10px;
	background: rgb(221, 217, 217);
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	overflow: hidden;
}